home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / jaq / dist / jgetInt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-22  |  1.6 KB  |  73 lines

  1. /*
  2.  * jgetInt.h --
  3.  *
  4.  *    Declarations for use by the jls utility for tapestry archive system
  5.  *
  6.  * Copyright 1991 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that this copyright
  10.  * notice appears in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  * $Header: /sprite/lib/forms/RCS/jgetInt.h,v 1.0 91/02/09 13:24:52 mottsmth Exp $ SPRITE (Berkeley)
  16.  */
  17.  
  18. #ifndef _JGETINT
  19. #define _JGETINT
  20.  
  21. #define MAXARG 100
  22.  
  23. #define DEF_RANGE ""
  24. #define DEF_ASOF ""
  25. #define DEF_SINCE ""
  26. #define DEF_ABS ""
  27. #define DEF_OWNER ""
  28. #define DEF_GROUP ""
  29. #define DEF_MAIL ""
  30. #define DEF_RECURSE INT_MAX
  31. #define DEF_MODDATE 0
  32. #define DEF_ALL 0
  33. #define DEF_FIRSTVER -1
  34. #define DEF_LASTVER -1
  35. #define DEF_FIRSTDATE -1
  36. #define DEF_LASTDATE -1
  37. #define DEF_CLOBBER 0
  38. #define DEF_VERBOSE 0
  39. #define DEF_PERM 0600
  40. #define DEF_PERMDIR 0700
  41. #define DEF_TARGET ""
  42. #define DEF_FILTER 0
  43. #define DEF_TAR 0
  44. #define DEF_TARBUF 10240
  45.  
  46. typedef struct parmTag {
  47.     char *server;
  48.     int port;
  49.     char *arch;
  50.     char *range;
  51.     char *asof;
  52.     char *since;
  53.     char *abs;
  54.     char *owner;
  55.     char *group;
  56.     char *mail;
  57.     int recurse;
  58.     int modDate;
  59.     int all;
  60.     int firstVer;
  61.     int lastVer;
  62.     int firstDate;
  63.     int lastDate;
  64.     int clobber;
  65.     int verbose;
  66.     char *target;
  67.     int filter;
  68.     int tar;
  69.     int tarBuf;
  70. } Parms;
  71.  
  72. #endif /* _JGETINT */
  73.